import uuid


def is_empty(value):
    """
    判断字符串是不是空的
    :param value:
    :return:
    """
    if value is None:
        return True
    if isinstance(value, str) and value.strip() == '':
        return True
    return False

def generate_order_id():
    return f"ORD{uuid.uuid4().hex[:16].upper()}"